import cv2
import numpy as np


# 读取图片并且灰度处理
img =  cv2.imread('./screenshot.png',flags=cv2.COLOR_BGR2GRAY)

# 高斯模糊
guass = cv2.GaussianBlur(img,(7,7),0)

# 生成图片
cv2.imwrite('guass.png',guass)


